package cn.tworice.watermark;

import org.springframework.web.multipart.MultipartFile;

import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.IOException;

public interface WaterMarkClient {

    BufferedImage mark(Image image);

    BufferedImage mark(String imagePath) throws IOException;

    BufferedImage mark(MultipartFile file) throws IOException;

    BufferedImage mark(MultipartFile file, String content) throws IOException;
}